package com.example.wheresdu_test;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.ImageButton;

public class MainActivity3 extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main3);
		final ImageButton imageButton5 = (ImageButton) findViewById(R.id.imageButton5);
		final ImageButton imageButton1 = (ImageButton) findViewById(R.id.imageButton1);
        imageButton5.setOnClickListener(new View.OnClickListener() {
               public void onClick(View v) {
                     
     Intent i = new Intent(MainActivity3.this, MainActivity1.class);
              
      
     startActivity(i);// 


     finish();//

               }
        });
        
        imageButton1.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
                  
  Intent i = new Intent(MainActivity3.this, MainActivity5.class);
           
   
  startActivity(i);// 


  finish();//

            }
     });
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.main_activity3, menu);
		return true;
	}

}
